package com.woniu.cms.goods.core.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 回缴单表
 * </p>
 *
 * @author romantic sheep
 * @since 2022-09-19
 */
@Getter
@Setter
  @TableName("cms_goods_payback")
@ApiModel(value = "GoodsPayback对象", description = "回缴单表")
public class GoodsPayback implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty("主键")
      private Integer id;

      @ApiModelProperty("生产中心（分公司-部门）")
      private String productionCenter;

      @ApiModelProperty("经办人（根据账号自动拉取）")
      private String operator;

      @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
      @ApiModelProperty("创建时间")
      private Date creatTime;

      @ApiModelProperty("修改信息（修改人-修改时间）")
      private String setMsg;

      @ApiModelProperty("劳务队")
      private String constructTeam;

      @ApiModelProperty("回缴单编号")
      private String paybackCode;

      @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
      @ApiModelProperty("回缴日期")
      private Date paybackDate;

      @ApiModelProperty("工程名称（根据编码生成）")
      private String projectName;

      @ApiModelProperty("工程编码（从公司工程库内拉取）")
      private String projectCode;

      @ApiModelProperty("仓库名称（从仓库列表拉取）")
      private String storeName;

      @ApiModelProperty("材料类型（从字典拉取）")
      private String goodsType;

      @ApiModelProperty("库存类型（库存类、调拨类、其他类。默认库存类）")
      private String stockType;

      @ApiModelProperty("分包单位")
      private String subcontractor;

      @ApiModelProperty("备注")
      private String remarks;

      @ApiModelProperty("0-未提交，1-已提交（审批中），2-审批通过，3-已驳回")
      private Integer status;


}
